home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / tpwprog5.arj / MIN.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1992-07-02  |  690 b   |  34 lines

  1. { minimum.pas -- Minimum Turbo Pascal for Windows program }
  2.  
  3. program Min;
  4.  
  5. uses WObjects;
  6.  
  7. type
  8.  
  9.   MinApplication = object(TApplication)
  10.     procedure InitMainWindow; virtual;
  11.   end;
  12.  
  13. {- Initialize the application's window }
  14. procedure MinApplication.InitMainWindow;
  15. begin
  16.   MainWindow := New(PWindow, Init(nil, 'Minimum Application'))
  17. end;
  18.  
  19. var
  20.  
  21.   MinApp: MinApplication;
  22.  
  23. begin
  24.   MinApp.Init('Min');
  25.   MinApp.Run;
  26.   MinApp.Done
  27. end.
  28.  
  29.  
  30. { --------------------------------------------------------------
  31.   Copyright (c) 1991 by Tom Swan. All rights reserved.
  32.   Revision 1.00    Date: 1/11/1991
  33.   ------------------------------------------------------------- }
  34.